<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
  <style>
     #div1{
	    width:100px;
		height:100px;
		background-color:red;
	 }
  </style>
  <script src="jQuery复习/jquery-3.3.1.js"></script>
 </head>
 <body>
    <div id="div1"></div>
 </body>
 <script>
   //获取css样式
    console.log($("#div1").css("background-color"));
   //设置css样式
   $("#div1").css({"outline":"solid 5px yellow"});
 </script>
</html>
